import numpy as np
p = np.array([1,2,3,6,5,4,6,6,6,6]) 
p2 = np.array([2,3]) 


#set  去重 + 排序
print(set(p2)&set(p))




# for ai in a:
#     print(a)
#     for bi in b:
#         print(b)
